const routes = [
	{
        path: "/index",
        name: "index",
        component: (resolve) => require(["./modules/flightLineTask/flightLineTaskList"], resolve),
        meta: {
            title: "航线任务"
        }
    },
    {
        path: "/scanCode",
        name: "scanCode",
        component: (resolve) => require(["./modules/scanCode/scanCode"], resolve),
        meta: {
            title: "扫码"
        }
    }

];

routes.push({
    path: '/',
    redirect: '/index'
});

export default routes;